package com.jh.user.pojo;

import java.util.List;

public class DataDTO {
    private Long id;
    private Integer dataType;
    private String dataKey;
    private String dataValue;
    private Long parentId;
    private String dataDesc;

    private List<DataDTO> dataDTOList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public String getDataKey() {
        return dataKey;
    }

    public void setDataKey(String dataKey) {
        this.dataKey = dataKey;
    }

    public String getDataValue() {
        return dataValue;
    }

    public void setDataValue(String dataValue) {
        this.dataValue = dataValue;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getDataDesc() {
        return dataDesc;
    }

    public void setDataDesc(String dataDesc) {
        this.dataDesc = dataDesc;
    }

    public List<DataDTO> getDataDTOList() {
        return dataDTOList;
    }

    public void setDataDTOList(List<DataDTO> dataDTOList) {
        this.dataDTOList = dataDTOList;
    }

    @Override
    public String toString() {
        return "DataDTO{" +
                "id=" + id +
                ", dataType=" + dataType +
                ", dataKey='" + dataKey + '\'' +
                ", dataValue='" + dataValue + '\'' +
                ", parentId=" + parentId +
                ", dataDesc='" + dataDesc + '\'' +
                ", dataDTOList=" + dataDTOList +
                '}';
    }
}
